WPO\WC\PDF_Invoices\Settings D

Total Complexity 155
Dependencies 3
Dependents 0
Total lines 714
Lines of code 525
Logical lines of code 306
Comment lines 79
Methods 30
Properties 3

Methods 30

Method Rating Maintainability Complexity Lines of code
preview_order_search()
B
37 20 65
ajax_preview()
B
36 17 74
get_installed_templates()
A
45 13 36
get_common_document_settings()
A
56 13 15
maybe_migrate_template_paths()
A
49 9 29
add_settings_fields()
A
48 8 35
get_template_list_cache()
A
50 8 29
move_setting_after_id()
S
50 6 28
get_template_path()
S
54 6 21
maybe_disable_preview_on_settings_tabs()
S
60 5 12
settings_page()
S
53 4 22
get_output_mode()
S
59 4 16
get_sequential_number_store_method()
S
63 5 9
debug_settings_updated()
S
70 5 5
check_auto_increment_increment()
S
65 4 8
set_number_store()
S
60 3 12
general_settings_updated()
S
70 3 6
get_document_settings()
S
65 3 9
get_relative_template_path()
S
65 3 8
get_media_upload_setting_html()
S
61 2 12
__construct()
S
53 1 20
maybe_delete_flush_rewrite_rules_transient()
S
72 2 6
normalize_path()
S
77 2 3
add_support_links()
S
62 2 10
get_output_format()
S
66 2 8
menu()
S
64 1 11
settings_capabilities()
S
82 1 3
set_template_list_cache()
S
76 1 4
add_settings_link()
S
69 1 6
delete_template_list_cache()
S
81 1 3